package com.luchao.back.service;

import com.luchao.back.pojo.Brands;

import java.util.List;

public interface BrandsService {

    List<Brands> getBrandsByPage(int pageNum, int pageSize);

    int addBrands(Brands brands);

    int editBrands(Brands brands);

    long getBrandsCount();

    boolean batchChangeState(List<Brands> list);

    int checkBrands(String bname);

    List<Brands> getAllBrands();

    List<Brands> getAllBrandsForView();
}
